/**   
 * @Title: HVTest.java 
 * @Package android.framework.app 
 * @Description: TODO
 * @author jtf@163.com   
 * @date 2013-8-21 下午4:19:00 
 * @version V1.0   
 */
package android.framework.app;

import android.app.Activity;
import android.framework.util.L;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.Log;

import android.framework.R;

/**
 * @ClassName: HVTest
 * @Description: TODO
 * @author jtf19@163.com
 * @date 2013-8-21 下午4:19:00
 * 
 */
public class HVTest extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_hvtest);
		
		DisplayMetrics dm = new DisplayMetrics();
		//获取屏幕信息
		        getWindowManager().getDefaultDisplay().getMetrics(dm);

		        int screenWidth = dm.widthPixels;

		        int screenHeigh = dm.heightPixels;
		        L.i(" screenWidth:  "+screenWidth + " screenHeigh:  " + screenHeigh);
	}
}
